//
//  MessageViewController.swift
//  SkylowAPP
//
//  Created by 王王凤丽 on 2024/9/20.
//

import UIKit
import JXPagingView

class MessageViewController: MessageBaseViewController {
   
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.colorWith(hexString: "#333333")
        self.navigationItem.title = "Message"
        self.navigationItem.titleView?.tintColor = UIColor.white
        
        
        self.navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage(named: "ic_nav_search"), style: .plain, target: self, action: #selector(leftBtnClick))
        
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(named: "ic_nav_more"), style: .plain, target: self, action: #selector(rightBtnClick))
        
    }
    
    @objc func leftBtnClick(){
        let searchVC = SearchMessViewController()
        self.navigationController?.pushViewController(searchVC, animated: true)
        
    }
    
    @objc func rightBtnClick(){
        
    }
}

